<layout name="layout"/>

<p>
<!-- Button trigger modal -->
<button type="button" class="uk-button uk-button-success" data-uk-modal="{target:'#myModal',center:true}">
{$Think.lang.add_new}
</button>
</p>
<form class="uk-form">

    <div class="uk-grid">
		<div class="uk-width-1-4">商户ID:<input type="text" name="bank_mid" placeholder="" class="uk-width-1-1"></div>
        <div class="uk-width-1-4">账户名:<input type="text" name="bank_client" placeholder="" class="uk-width-1-1"></div>
	    <div class="uk-width-1-4">分行名:<input type="text" name="bank_branch" placeholder="" class="uk-width-1-1"></div>
		 <div class="uk-width-1-4">账户号:<input type="text" name="bank_account" placeholder="" class="uk-width-1-1"></div>
		  <div class="uk-width-1-4">备注:<input type="text" name="bank_remakr" placeholder="" class="uk-width-1-1"></div>
	  </div>
	<p>
<button type="submit" class="uk-button uk-button-danger">搜索</button>
</p>
</form>

          <div class="uk-overflow-container">
            <table class="uk-table uk-table-hover uk-table-striped uk-table-condensed">
	<thead>
		<th>#</th>		<th>{$Think.lang.mh_id}</th>		<th>{$Think.lang.bank_name}</th>		
		<th>{$Think.lang.bank_user}</th>	<th>{$Think.lang.bank_branch}</th>	<th width=180>{$Think.lang.add_time}</th>	
	</thead>
	<tbody>
		<volist name="list" id="vo">
		<tr>
			<td><a href="__CONTROLLER__/details/{$vo.bank_id}">{$vo.bank_id}</a></td>
			<td>{$vo.bank_mid}</td>
			<td>{$vo.bank_name}</td>
			<td>{$vo.bank_client}</td><td>{$vo.bank_branch}</td><td>{$vo.bank_time}</td>
		</tr>
		</volist>
	</tbody>
</table>
</div>
{$page}

<!-- Modal -->
<div class="uk-modal" id="myModal">
 <form id="validate_form" class="uk-form"  method="post" action="__CONTROLLER__/addHandle">
    <div class="uk-modal-dialog"> <a class="uk-modal-close uk-close"></a>
        <div class="uk-modal-header">{$Think.lang.add_new}</div>

<table class="uk-table">
<tr><td  width=180>{$Think.lang.mh_id}</td><td>
<input type="text" name="bank_mid"  required />
</td></tr>
<tr><td  width=180>{$Think.lang.bank_name}</td><td>
<input type="text" name="bank_name"  required  />
</td></tr>
<tr><td  width=180>{$Think.lang.bank_account}</td><td>
<input type="text" name="bank_account"  required />
</td></tr>
<tr><td>{$Think.lang.bank_user}</td><td>
<input type="text" name="bank_client"   required />
</td></tr>
<tr><td>{$Think.lang.bank_branch}</td><td>
<input type="text" name="bank_branch"   required />
</td></tr>
<tr><td>{$Think.lang.bank_swift}</td><td>
<input type="text" name="bank_swift"   required />
</td></tr>
<tr><td>{$Think.lang.status}</td><td>
	<label><input type="radio" name="bank_status" value="1" checked /> {$Think.lang.yes}</label>
	<label><input type="radio" name="bank_status" value="0"  /> {$Think.lang.no}</label>	
</td></tr>
<tr><td>{$Think.lang.remark}</td><td>
<textarea type="text" name="bank_remark" style="height:100px;"></textarea>
</td></tr>

</table>

        <div class="uk-modal-footer uk-text-right">
		<button class="uk-button uk-button-danger" type="submit">{$Think.lang.save}</button>
		</div>
    </div>
  </form> 
</div>